all:client server

client:client2.cpp
	g++ -std=c++11 $^ -o $@
client1:client1.cc
	g++ -std=c++11 $^ -o $@

server:server.cc
	g++ -std=c++11 $^ -o $@
tcp_client:tcp_cli.cc
	g++ -std=c++11 $^ -o $@
tcp_server:tcp_srv.cc
	g++ -std=c++11 $^ -o $@

.PHONY:clean
clean:
	rm -f client server